
const Router = require('koa-router'); // 引入 koa-router
const router = new Router({ prefix: '/upload' }); // 创建路由实例
const { upload } = require('../controller/upload'); // 引入控制器

router.post('/img',  upload);

module.exports = router;
